<volist name="album_list" id="val" key="key">
    <div class="album_item radius7 mt15" <if condition="$key%2 eq 0">style="float:right;"</if>>
        <div class="clearfix act" style="text-align:right;">
        <present name="me">
        	<if condition="$type neq 'follow'">
            <a href="javascript:void(0)" class="edit_album" album_id="{$val['id']}" >编辑</a>
            |<a href="javascript:var url = '{:uc('uc/album_info',array('act'=>'del','id'=>$val['id']))}';if(confirm('确认要删除{$val.title}专辑吗？'))location=url;">删除</a>
            </if>
        </present>
        </div>                
        <a href="{:u('album/details',array('id'=>$val['id'],'uid'=>$val['uid']))}" class="img" target="_blank">
            <volist name="val['items']" id="ival">
                <img src="{$ival}" />
            </volist>       	
        </a>
        <div class="clearfix title">
        	<div class="clearfix">
                <h3 class="left">{$val.title}</h3>
                <div class="right">
                <!--
                    <div class="like left">
                        <i>{$val.like_num}</i>
                        喜欢
                    </div>
                    <div class="comment left">
                        <i>{$val.comment_num}</i>
                        评论
                    </div>
                -->
                    <div class="like left">
                       宝贝数量:{$val.number}个  
                    </div>
                </div>            
            </div>
            <if condition="$type eq 'follow'">
			<div class="clearfix" style="line-height:20px;">
                <a href="{:u('uc/album',array('uid'=>$val['user']['id']))}" target="_blank">
	                <img src="{:uimg($val['user']['img'])}" class="avatar left"/>@{$val['user']['name']}
              	</a>
            </div>
            </if>
        </div>
    </div>
</volist>